package cn.iocoder.yudao.module.cmt.controller.admin.person.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
import cn.idev.excel.annotation.ExcelProperty;

@Schema(description = "管理后台 - 人员信息 Response VO")
@Data
@ExcelIgnoreUnannotated
public class PersonInfoRespVO {

    @Schema(description = "人员ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "23019")
    @ExcelProperty("人员ID")
    private Long id;

    @Schema(description = "社区ID", example = "18640")
    @ExcelProperty("社区ID")
    private Long communityId;

    @Schema(description = "关联会员ID(可为空，表示非会员)", example = "23019")
    @ExcelProperty("关联会员ID")
    private Long userId;

    @Schema(description = "与会员关系：0本人 1家人 2朋友 3其他", example = "0")
    @ExcelProperty("与会员关系")
    private Integer relationType;

    @Schema(description = "真实姓名", requiredMode = Schema.RequiredMode.REQUIRED, example = "张三")
    @ExcelProperty("真实姓名")
    private String realName;

    @Schema(description = "身份证号", example = "320106199001011234")
    @ExcelProperty("身份证号")
    private String idCard;

    @Schema(description = "手机号", example = "13800138000")
    @ExcelProperty("手机号")
    private String phone;

    @Schema(description = "性别：0未知 1男 2女", example = "1")
    @ExcelProperty("性别")
    private Integer gender;

    @Schema(description = "生日", example = "2000-01-01")
    @ExcelProperty("生日")
    private Date birthday;

    @Schema(description = "年龄", example = "25")
    @ExcelProperty("年龄")
    private Integer age;

    @Schema(description = "学历", example = "本科")
    @ExcelProperty("学历")
    private String education;

    @Schema(description = "职业", example = "软件工程师")
    @ExcelProperty("职业")
    private String occupation;

    @Schema(description = "地址", example = "北京市朝阳区")
    @ExcelProperty("地址")
    private String address;

    @Schema(description = "头像", example = "https://www.iocoder.cn/xx.png")
    @ExcelProperty("头像")
    private String avatar;

    @Schema(description = "人员类型：1普通居民 2志愿者 3师资 4社区干部", example = "2")
    @ExcelProperty("人员类型")
    private Integer personType;

    @Schema(description = "志愿者等级：0非志愿者 1一星 2二星 3三星 4四星 5五星", example = "1")
    @ExcelProperty("志愿者等级")
    private Integer volunteerLevel;

    @Schema(description = "志愿者称号", example = "优秀志愿者")
    @ExcelProperty("志愿者称号")
    private String volunteerTitle;

    @Schema(description = "累计服务时长(小时)", example = "100.5")
    @ExcelProperty("累计服务时长")
    private BigDecimal totalServiceHours;

    @Schema(description = "累计参与活动数", example = "50")
    @ExcelProperty("累计参与活动数")
    private Integer totalActivities;

    @Schema(description = "状态：0停用 1启用", example = "1")
    @ExcelProperty("状态")
    private Integer status;

    @Schema(description = "备注", example = "随便")
    @ExcelProperty("备注")
    private String remark;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}
